#ifndef CARDS_H
#define CARDS_H

#define cardHeight 244
#define cardWidth 167

#include "SDL.h"
#include <time.h>

class Cards {
	public:
		Cards();
		SDL_Rect *GetClipAddress(int);
		bool GetFlag(int);
		unsigned int CalculateCardNb();
		unsigned int GetPoints(int);
		int CalculateCardValue(int, int);
		void ResetAll();
	private:
		SDL_Rect Clip[53];
		unsigned int points[52]; //Fill array with points for each card
		bool flag[52];
		unsigned int card_nb;	// 0 - 51
		unsigned int calculate_points(int);
};

#endif